namespace Plugins.Interfaces
{
    public interface IPluginBinarySerializer<T>
    {
        T Deserialize(byte[] data);
        T Deserialize(byte[] data, IPluginRuntimeFormatter formatter);
        byte[] Serialize(T obj);
        byte[] Serialize(T obj, IPluginRuntimeFormatter formatter);
    }
}

